import { httpRequest } from '../utils/http.js';
//公共模块
export default {
    //账号密码登录
    login: function (params) {
        return httpRequest({
            url: '/common/login',
            method: 'POST',
            params: params
        });
    },
    //首页 模块
    listPage: function (params) {
        return httpRequest({
            url: '/diary/list-page',
            method: 'POST',
            params: params
        });
    },
}
